package com.jmp.api.admin.dto;

import lombok.Builder;
import lombok.Data;
import one.stand.dto.PageResponse2;

import java.util.List;

/**
 * @author cjr
 */
@Data
@Builder
public class AppConfigGoodsResponse {
    private PageResponse2<Goods> goodsList;
    private List<Type> typeList;

    @Data
    @Builder
    public static class Goods {
        private Integer id;
        private String photo;
        private String goodsName;
        private Integer goodsId;
        private String companyName;
        private Integer sort;
        private Integer refId;
    }

    @Data
    @Builder
    public static class Type {
        private Integer goodstypeId;
        private String name;
        private Integer parentId;
        private String groupName;
    }
}
